.table-container-scroll ul, .table-container-scroll .cardContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  .el-col-5 {
    max-width: 20%;
    flex: 0 0 20%;
  }
  li, .card-item-li{
    display: inline-block;
    width: 100%;
    // height: 100%;
    // width: 300px;
    flex-grow: 1;
    cursor: pointer;
    // padding: 0 !important;
    // margin: 5px;
    // max-width: 300px;
    // min-width: 240px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    overflow: hidden;
    margin-bottom: 5px;
    .greenFont {
      color: rgb(160, 230, 3);
    }
    .redFont {
      color: rgb(246, 64, 64);
    }
    .greyFont {
      color: grey;
    }
    .greenColor {
      color: darkslategrey;
      background: rgb(29, 233, 182);
    }
    .redColor {
      color: rgb(246, 64, 64);
      background: #fef0f0;
    }
    .greyColor {
      color: grey;
      background: rgba(0, 0, 0, 0.05);
    }
    .card-white-title {
      padding: 15px 18px 11px;
      font-size: 15px;
      font-weight: 600;
      color: #4E5969;
      // margin: 3px 3px 0;
      border-radius: 4px;
      display: flex;
      justify-content: space-between;
      text-align: left;
    }
    p {
      padding: 0 14px;
      margin: 0;
      font-size: 13px;
      font-weight: 400;
      margin: 0;
      color: #86888a;
      overflow: hidden;
      line-height: 20px;
    }
    .card-item {
      position: relative;
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      .item_title {
        height: 38px;
        line-height: 38px;
        width: 100%;
        color: #31abe3;
        font-size: 16px;
        position: relative;
        z-index: 2;

        .title-inner {
          padding: 0;
          position: absolute;
          top: 27px;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 16px;
          font-family: PingFang SC;
          font-weight: 400;
          letter-spacing: 1px;
          background: #000;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
      }
      .card-footer {
        padding: 15px 18px;
        text-align: right;
        .grey-button {
          background: #f7f8fa;
          border: none;
          color: #4e5969;
          height: 30px;
          line-height: 30px;
        }
        .blue-button {
          background: #1f63ff;
          border: none;
          color: #fff;
          height: 30px;
          line-height: 30px;
        }
      }
      .card-content {
        width: 100%;
        height: calc(100% - 38px - 6px);
        overflow: hidden;
        display: flex;
        align-items: center;
        .card-left {
          width: 50%;
          height: 100%;
          float: left;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 8px 0;
          .pic-type {
            position: relative;
            width: 90%;
            height: 100%;
            display: inline-block;
            svg {
              position: absolute;
              right: -15px;
              bottom: 0px;
              font-size: 28px;
              z-index: 9;
            }
            .coverImg {
              margin-top: 0;
              width: 100%;
              height: 100%;
              background-position: center;
              background-repeat: no-repeat;
              background-size: contain;
            }
            .nodataImg {
              background-image: url("@/assets/images/no-device.png");
            }
          }

          .card-value {
            padding: 0 10px;
            span:nth-child(1) {
              display: block;
              margin-top: 5px;
              font-size: 16px;
              font-weight: 900;
              font-family: "DinLight";
            }
            span:nth-child(2) {
              display: block;
              font-size: 12px;
              line-height: 14px;
              margin-top: 5px;
            }
          }
        }
        .card-right {
          width: 100%;
          height: auto;
          padding: 1px 18px;
          // margin: 10px;
          .card-name {
            height: auto;
            margin-bottom: 5px;
            width: 100%;
            // border: 1px solid #eee;
            // background-color: rgba(172, 185, 227, 0.05) !important;
            // margin-left: 2%;
            padding: 5px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            span {
              font-size: 12px;
              display: block;
              text-align: center;
              line-height: 15px;
              padding: 0;
              word-break: break-all;
            }
            span:nth-child(1) {
              white-space: nowrap;
              font-size: 13px;
              display: block;
              color: #86909c;
            }
            span:nth-child(2) {
              font-weight: 400;
              // margin: 3px 0;
              font-size: 13px;
              text-align: right;
              // line-height: 18px;
              display: block;
              // font-family: DINAlt;
              color: #86909c;
            }
          }
          .card-name:nth-last-child(1) {
            margin-bottom: 0px;
          }
        }
      }
    }
  }
  li:hover, .card-item-li:hover {
    cursor: pointer;
    img {
      transform: scale(1.12);
    }
  }
}
.text-ellipsis {
  white-space: nowrap; /* 文本不换行 */
  overflow: hidden; /* 隐藏超出容器的内容 */
  text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
}
